package com.seniorproject.aims;

public class Permission {
	
	private String department_id ;
	private String username;
	private String name;
	private String surname;
	private String role;
	
	public Permission (String user_name_in, String name_in ){
		
		this.username = user_name_in;
		this.name = name_in;
		
		
	}
	
	
	private boolean student_create = false;
	private boolean student_read = false;
	private boolean student_update = false;
	private boolean student_delete = false;
	
	private boolean curriculum_create = false;
	private boolean curriculum_read = false;
	private boolean curriculum_update = false;
	private boolean curriculum_delete = false;
	
	private boolean register_create = false;
	private boolean register_read = false;
	private boolean register_update = false;
	private boolean register_delete = false;
	
	public void setDepartmentId(String depart_in){ this.department_id = depart_in;}
	public void setSurname(String in){this.surname = in;}
	public void setRole(String in ){this.role  = in;}
	
	
	public void setStudentCreate (boolean student_create_in ){ this.student_create = student_create_in; }
	public void setStudentRead (boolean student_read_in) {this.student_read = student_read_in; }
	public void setStudentUpdate (boolean student_update_in){this.student_update = student_update_in;}
	public void setStudentDelete (boolean student_delete_in){this.student_delete = student_delete_in; }
	
	public void setCurriculumCreate (boolean curr_in){this.curriculum_create = curr_in;}
	public void setCurriculumRead(boolean curr_in){this.curriculum_read = curr_in;}
	public void setCurriculumUpdate(boolean curr_in){this.curriculum_update = curr_in;}
	public void setCurriculumDelete(boolean curr_in){this.curriculum_delete = curr_in;}
	
	public void setRegisCreate(boolean re_in) {this.register_create = re_in;}
	public void setRegisRead(boolean re_in){this.register_read = re_in;}
	public void setRegisUpdate(boolean re_in){this.register_update = re_in;}
	public void setRegisDelete(boolean re_in){this.register_delete = re_in;}
	
	
	public boolean getStudentCreate (){return this.student_create;}
	public boolean getStudentRead(){return this.student_read;}
	public boolean getStudentUpdate() {return this.student_update;}
	public boolean getStudentDelete(){return this.student_delete;}
	
	public boolean getCurriculumCreate(){return this.curriculum_create;}
	public boolean getCurriculumRead(){return this.curriculum_read;}
	public boolean getCurriculumUpdate(){return this.curriculum_update;}
	public boolean getCurriculumDelete(){return this.curriculum_delete;}
	
	public boolean getRegisCreate(){return this.register_create;}
	public boolean getRegisRead(){return this.register_read;}
	public boolean getRegisUpdate (){return this.register_update;}
	public boolean getRegisDelete(){return this.register_delete;}
	
	public String getName(){return this.name;}
	public String getDepartment_id(){return this.department_id;}
	public String getSurname(){return this.surname;}
	public String getRole(){return this.role;}
	
	
	

}
